package com.markerhub.service;

import com.markerhub.entity.SysCourse;
import com.markerhub.entity.SysCourseMajor;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wang
 * @since 2022-04-27
 */
public interface SysCourseMajorService extends IService<SysCourseMajor> {
    Map<Long,String> majorMap(SysCourse sysCourse);
    Boolean saveMajor (Long courseId,Map<Long,String> major);
}
